import BaseService from '@/common/baseServiceV2.js'
import BannerModel from './model/bannerModel.js'
export default class Banner extends BaseService{
	
	/*
	   interface Banner{
			tabs点击事件
	         function itemClick(object categoryModel);
	   }
	*/
	
	constructor(func) {
		super()
		this.data=new BannerModel().data
		this.func=func
	}
	
	setRefresh(source){
		let model = new BannerModel(source,this.func)
		super.refresh(model)
	}
	setMore(source){
		let model = new BannerModel(source,this.func)
		super.loadMore(model)
	}
}